﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cinema.Model
{
    class Customer
    {
        //vars
        String phone;
        Member member;
        //vars

        //constructor
        public Customer(String phone, Member member)
        {
            this.phone = phone;
            this.member = member;
        }
        //constructor

        //set
        public void setPhone(String phone)
        {
            this.phone = phone;
        }

        public void setMember(Member member)
        {
            this.member = member;
        }
        //set

        //get
        public String getPhone()
        {
            return phone;
        }

        public Member getMember()
        {
            return member;
        }
        //get

        //context
        public void detach()
        {
            member = null;
        }
        //context
    }
}
